"""
@Time ： 2022/9/26 11:06
@Auth ： 陈杰 200320501042
@E-mail : 1612845322@qq.com
"""

from functools import reduce
def is_even(x):
    return x > 0
def myadd(x,y):
    return x+y
sum = reduce(myadd ,filter(is_even,[2,-6,11,-7,8,15,-14,-1,10,-13,18]))
print(sum)

